﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyHealthByDesignWebsite.Models.LogOnModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ForgotPassword
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Please enter your username. Your password will be emailed.</h2>

    <% using (Html.BeginForm()) 
       { %>

        <div>
            <fieldset>
                <legend>email address</legend>
                
                <div class="editor-label">
                    <%: Html.LabelFor(m => m.UserName) %>
                </div>
                <div class="editor-field">
                    <%: Html.TextBoxFor(m => m.UserName) %>
                    <%: Html.ValidationMessageFor(m => m.UserName) %>
                </div>
                                
                <p>

                    <input type="submit" value="EmailPassword" />
                </p>
                <p>
                <%: Html.ActionLink("Forgot Password?", "ForgotPassword") %> 
 
                </p>
            </fieldset>
        </div>
    <% } %>
</asp:Content>
